package xmu.zfw.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;
import xmu.zfw.domain.ReportRelation;
import xmu.zfw.domain.Reporteder;
import xmu.zfw.domain.Reporter;

import java.util.List;

@Mapper
@Component
public interface ReportRelationMapper {
    public Integer addReportRelation(ReportRelation reportRelation);
    public Integer deleteReportRelationsByReportId(Integer reportId);
    public List<Integer> getReportIdsByReporterInfo(Reporter reporter);
    public List<Integer> getReportIdsByReportederInfo(Reporteder reporteder);
}
